// 
// Decompiled by Procyon v0.5.36
// 

package com.orange.boot.config;

import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
public class InterceptorConfig implements WebMvcConfigurer
{
    public void addResourceHandlers(final ResourceHandlerRegistry registry) {
        final String uploadDetailDiseasePath = "/root/platform/orange/img/";
        registry.addResourceHandler(new String[] { "/news/**" }).addResourceLocations(new String[] { "file:" + uploadDetailDiseasePath });
    }
}
